import openpyxl

def read_excel(file_path):
    workbook = openpyxl.load_workbook(file_path)
    sheet = workbook.active
    data = []
    for row in sheet.iter_rows(values_only=True):
        data.append(row)
    return data

# 读取 user1.xlsx
user1_data = read_excel('../data/user1.xlsx')
print("user1.xlsx 的完整内容：")
print(user1_data)

# 读取 user2.xlsx
user2_data = read_excel('../data/user2.xlsx')
print("user2.xlsx 的完整内容：")
print(user2_data)
